package com.sky.mapper;

import com.sky.annotation.AutoFill;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.entity.DishFlavor;
import com.sky.enumeration.OperationType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DishFlavorMapper {
    void update(DishFlavor dishFlavor);


    void addFlavors(DishFlavor flavors);


    void delete(Long id);

    @Select("select * from dish_flavor where dish_id=#{id}")
    List<DishFlavor> selectById(Long id);
}
